package com.lyz.dataStructure.LeetCode;/**
 * @Author:759057893@qq.com Lyz
 * @Date: ${Date} 10:04
 * @Description:
 **/

import java.util.Scanner;

/**
 *@Author:759057893@qq.com Lyz
 *@Date: 2019/4/14 10:04
 *@Description:
 **/
public class Main3 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请输入城市个数");
        while (in.hasNextInt()) {
            int n = in.nextInt();
            int[][] arr = new int[n][n];
            System.out.println("请输入城市间的车票价格");
            int sum =0;
            for(int i=1;i<=arr.length;i++){
                for(int j=1;j<=arr.length;j++){
                    arr[i][j] =in.nextInt();

                }
            }

        }
    }
}
